﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.master" AutoEventWireup="true" CodeFile="NewList.aspx.cs" Inherits="NewList" %>

<%@ Register Src="~/AdvButton.ascx" TagPrefix="uc1" TagName="AdvButton" %>
<%@ Register Src="~/BaseRight.ascx" TagPrefix="uc1" TagName="BaseRight" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="home" Runat="Server">
    <div class="mark">
        <img src="images/home.png" /><span>您现在的位置：</span>
        <a href="Index.aspx">首页</a><font>></font><a href="#"><%= model.Name %></a>
        <div class="timeBox">今天是：<%= Sys.Common.StringHelper.TimeAndDayOfWeek() %></div>
    </div>    
    <div class="main">
        <div class="list">
            <dl>
                <dt><strong><%= model.Name %></strong></dt>
                <dd>
                    <ul>
                        <asp:Repeater ID="rep_List" runat="server">
                            <ItemTemplate>
                                <li>
                                    <p><a href="New.aspx?id=<%# Eval("ID") %>" target="_blank"><%# Eval("Name") %></a></p>
                                    <span><%# Convert.ToDateTime(Eval("UpdateTime")).ToString("yyyy-MM-dd") %></span>
                                </li>
                                <%# (rep_List.Items.Count + 1) % 5 == 0 ? "<li class='hr'></li>" : string.Empty %>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <Sys:Pager ID="Pager" runat="server" />
                </dd>
            </dl>
        </div>
        <uc1:BaseRight runat="server" ID="BaseRight" />
    </div>
    <uc1:AdvButton runat="server" ID="AdvButton" />
</asp:Content>

